<%@ page language="java" import="java.util.*,share.security.auth.*"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/tld/sys" prefix="sys"%>
<%@ taglib uri="/tld/cache" prefix="ch"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>浏览 <sys:path file="${file}" /></title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link rel="stylesheet" href="css/standard.css" type="text/css" />
		<link rel="stylesheet" href="css/list.css" type="text/css" />
		<link href="css/floatDiv.css" rel="stylesheet" type="text/css" />
		<link href="css/toolbar.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="js/floatDiv.js"></script>
		<script type="text/javascript" src="js/toolbar.js">
</script>
	</head>
	<body>
		<!-- ToolBar Section -->
		<jsp:include page="WEB-INF/include/ToolBar.jsp" />
		<div id="menu">
			<img id="logo" width="64" height="64" alt="<sys:info name="name"/>"
				src="img/logo.png" />
			<sys:code file="dir.menu.tpl" />
			<hr/>
		</div>
		<div id="contain">
			<div id="path">
				<sys:path file="${file}" />
				<br>
			</div>
			<div id="listContainer">
				<a href="files<sys:path file="${file}" type="parent"/>">..</a>
				<br>
				<c:forEach items="${file.children}" var="fs">
					<c:if test="${!fs.hidden }">
						<a href="files<sys:path file="${fs}"/>">${fs.filename}</a>
						<br>
					</c:if>
				</c:forEach>
			</div>
		</div>
		<!-- Footer -->
		<jsp:include page="WEB-INF/include/foot.jsp" />
	</body>
</html>